<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		/*.box p span{
			color: red;
		}*/
		.box{
			color: red;
		}
		.box a{
			color: yellow;
		}
		.box p{
			color: green;
			font-size: 30px;
			line-height: 30px;
			background-color: red;
			text-align: right;
		}
		span{
			background-color: transparent;
		}
	</style>
</head>
<body>

	<div class="box">
		日天
		<a href="#">百度</a>
		<p>
			wusir
			<span>alex</span>
		</p>
	</div>
	
</body>
</html>